package com.monitor.pubInter.baseVO;

import com.monitor.pubInter.common.PageBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author sunke
 * @Date 2019/11/13 14:48
 * @description
 */

@AllArgsConstructor
@NoArgsConstructor
@ApiModel("list")
public class DecoratePageList<T> {

    @ApiModelProperty("list")
    private List<T> list;
    private PageBean page;

    public List<T> getList() {
        return list;
    }

    public DecoratePageList<T> setList(List<T> list) {
        this.list = list;
        return this;
    }

    public PageBean getPage() {
        return page;
    }

    public DecoratePageList<T> setPage(PageBean page) {
        this.page = page;
        return this;
    }
}
